package hessian.service;

import java.util.HashMap;

import com.caucho.hessian.server.HessianServlet;

/**
 * 
 * @author alsolute
 */

public class HessianServiceImpl extends HessianServlet implements HessianService {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/** Creates a new instance of HessianServiceImpl */
	public HessianServiceImpl() {
	}

	public String sayHello() {
		return "hello hessian!";
	}

	@Override
	public String doMessage(HashMap<String, String> map) {
		// TODO Auto-generated method stub
		return map.toString();
	}
}